package com.ftg.learn.day08.manytomany;

import com.ftg.learn.day08.SexEnum;

/**
 * @author 布衣
 */
public class TestPlay {

    public static void main(String[] args) {
        Clazz c1 = new Clazz("软件一班","哈西");
        Clazz c2 = new Clazz("软件二班","哈西");

        Student student = new Student();
        student.createStudent("张三", SexEnum.man);

        Student student1 = new Student();
        student1.createStudent("李四", SexEnum.man);

        ClazzStudentRef ref = new ClazzStudentRef();
        ref.init(c1,student);
        ref.init(c1,student1);

        ref.init(c2,student1);

    }

}
